// import 'package:flutter/cupertino.dart';
//
// ui.Image getMaterial(BuildContext context) {
// final _GameMaterialState state =
// context.ancestorStateOfType(const TypeMatcher<_GameMaterialState>());
// assert(state != null, "can not find GameMaterial widget");
// return state.material;
// }